package workbench.dao;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import workbench.domain.Activity;

import java.util.List;

@Repository
public interface ActivityDao {
    List selectOwners();
    int addActivity(Activity activity);
    List getActivityList(Activity activity);
    int countActivity(Activity activity);
    int selectRelationalRecord(List ids);
    int deleteActivity(List ids);
    int deleteRelationalRecord(List ids);
    Activity getActivityById(String id);
    int updataActivity(Activity activity);
    List getActivityByClueId(String id);
    List getNotBindActivityListByName(@Param("aname") String aname, @Param("clueId") String clueId);
    List<Activity> getActivityListByName(String aname);
}